#ifndef CMAP_H_INCLUDED
#define CMAP_H_INCLUDED

#include <SDL/SDL.h>
#include <vector>
#include "CTile.h"
#include "CSurface.h"

class CMap{

public:
    SDL_Surface* Surf_Tileset;

private:
    std::vector<CTile> TileList;

public:
    CMap();

public:
    bool OnLoad(char* File);

    void OnRender(SDL_Surface* Surf_Display, int MapX, int MapY);

public:
    CTile*    GetTile(int X, int Y);

    CTile*    GetTile(int ID);

    void      SetTileColor(int X, int Y, int Color);


};


#endif // CMAP_H_INCLUDED
